﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="role.aspx.cs" Inherits="admin_role" MasterPageFile="~/admin/MasterPage2.master" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" runat="server" 
    contentplaceholderid="ContentPlaceHolder1">

    <table width="1100px" bgcolor="White" cellpadding="0" cellspacing="0">
    <!-- Encabezado -->
        <tr bgcolor="#FA7E02" class="letracuadroscolores">
            <td colspan="4">Edit Role </td>
        </tr>
    </table>
      <table width="1100px" bgcolor="White">
    
    <!-- Cuerpo -->
     <tr align="center">
        <td>
        <table width="50%" >
            <tr>
                <td valign="top" colspan="4"><strong style="text-align: right">
                    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"></asp:ToolkitScriptManager>
                </strong></td>
            </tr>
            <tr>
                 <!--<td width="100px" valign="bottom" align="right" style="text-align:right"><strong>Role</strong></td>-->
                 <td style="padding-top:40px" colspan="4">
                     <asp:Label ID="tb_role" runat="server" CssClass="letraGrande"></asp:Label>
                 </td>
            </tr>
            <tr>
                 <td align="center" colspan="4">&nbsp;</td>
            </tr>
            <tr>
                 <td  valign="top" colspan="4" >
                    <asp:Panel ID="Punaccess" runat="server" Width="80%"></asp:Panel>
                 </td>
            </tr>
        </table>
        </td>
    </tr>

     <tr>
        <td colspan="4" align="center">
            <table>
                <tr>
                    <td align="center">
                        <asp:LinkButton ID="lnk_delete" runat="server" CssClass="button_save" 
                            ForeColor="White" onclick="lnk_delete_Click"><span>Delete</span></asp:LinkButton>
                        <asp:ConfirmButtonExtender ID="ConfirmButtonExtender1" runat="server" 
                            ConfirmText="Are you sure the rol needs to be deleted?" Enabled="True" 
                            TargetControlID="lnk_delete"></asp:ConfirmButtonExtender>
                        <asp:LinkButton ID="lnk_back" runat="server" CssClass="button_save" 
                            onclick="lnk_back_Click" Visible="False"><span>Back</span></asp:LinkButton>
                    </td>
                </tr>
            </table>
       </td>
     </tr>
     <!-- footer -->
     <tr>
        <td align="center">
            <asp:Panel ID="puppermitRole" runat="server" BackColor="White" style="box-shadow: 0 0 15px 1px #ffffff">
                <asp:RadioButtonList ID="allaccess" runat="server" AutoPostBack="True" Font-Size="Small" RepeatDirection="Horizontal" Font-Bold="True" ForeColor="#525663" onselectedindexchanged="allaccess_SelectedIndexChanged">
                    <asp:ListItem Value="0">All Unlimited</asp:ListItem>
                    <asp:ListItem Value="1">All View Only</asp:ListItem>
                    <asp:ListItem Value="2">All Restricted</asp:ListItem>
                </asp:RadioButtonList>
                <asp:Accordion ID="Accordion2" runat="server" HeaderCssClass="accordion" HeaderSelectedCssClass="accordionSelected">
                </asp:Accordion>
                <asp:LinkButton ID="lnk_save" runat="server" CssClass="button_save" 
                    ForeColor="White" onclick="lnk_save_Click"><span>Save</span></asp:LinkButton>
                <asp:LinkButton ID="lnk_cancel" runat="server" CssClass="button_save"><span>Cancel</span></asp:LinkButton>
            </asp:Panel>
            <asp:modalpopupextender ID="bthide_ModalPopupExtender" runat="server" DynamicServicePath="" Enabled="True" TargetControlID="bt_hide" 
                            PopupControlID="puppermitRole" BackgroundCssClass="FondoAplicacion">
                        </asp:modalpopupextender>
         </td>
        <td></td><td><asp:ImageButton ID="bt_hide" runat="server" ImageUrl="~/blank.gif" /></td><td></td>
     </tr>

</asp:Content>

